/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.meibang.meibanguserskillstype.service;

import cn.apestar.common.persistence.Page;
import cn.apestar.common.service.CrudService;
import cn.apestar.modules.meibang.meibanguserskillstype.dao.MeibangUserSkillsTypeDao;
import cn.apestar.modules.meibang.meibanguserskillstype.entity.MeibangUserSkillsType;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 技师技能类型Service
 *
 * @author yudw
 * @version 2017-05-03
 */
@Service @Transactional(readOnly = true) public class MeibangUserSkillsTypeService
    extends CrudService<MeibangUserSkillsTypeDao, MeibangUserSkillsType> {

    public MeibangUserSkillsType get(String id) {
        return super.get(id);
    }

    public List<MeibangUserSkillsType> findList(MeibangUserSkillsType meibangUserSkillsType) {
        return super.findList(meibangUserSkillsType);
    }

    public Page<MeibangUserSkillsType> findPage(Page<MeibangUserSkillsType> page,
        MeibangUserSkillsType meibangUserSkillsType) {
        return super.findPage(page, meibangUserSkillsType);
    }

    @Transactional(readOnly = false) public void save(MeibangUserSkillsType meibangUserSkillsType) {
        super.save(meibangUserSkillsType);
    }

    @Transactional(readOnly = false)
    public void delete(MeibangUserSkillsType meibangUserSkillsType) {
        super.delete(meibangUserSkillsType);
    }

}